package cn.cf.kxx.fram;


import cn.cf.kxx.model.Device;
import cn.cf.kxx.model.dev.Hold;

/**
 * fram -> activity
 */
public interface OnActivityInteractionListener {
    //发送数据
    boolean sendCommand(int fun, int msg,int len,byte[] data);
    //设置从机ID
    boolean setHold(Hold hold);
    //切换界面
    void startFragment(int page);

    void bakeFragment();

    void setDevice(Device device);
}
